package cn.signalpha.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 实体类
 *
 * @author signalpha
 */
@Data
@TableName("shop_seller_category")
@ApiModel(value = "SellerCategory对象", description = "商户分类")
public class SellerCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

	@ApiModelProperty(value = "手续费比例")
	private Double serverRatio;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

}
